package com.drinks.yiniang.entity.user.wallet;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 充值套餐 json
 * @author han
 * @date 2019/9/7
 */
public class RechargePackageJson extends BaseJson {

    private List<RechargePackageData> data;

    public List<RechargePackageData> getData() {
        return data;
    }

    public void setData(List<RechargePackageData> data) {
        this.data = data;
    }

    public static class RechargePackageData  {
        //套餐id
        private String id;
        private String name;
        //价格
        private String price;
        //可获取积分
        private String gain_point;
        //优惠券id
        private String coupons_id;
        //充值套餐说明
        private String mark;
        //优惠券信息
        private RechargeCouponData coupon;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getGain_point() {
            return gain_point;
        }

        public void setGain_point(String gain_point) {
            this.gain_point = gain_point;
        }

        public String getCoupons_id() {
            return coupons_id;
        }

        public void setCoupons_id(String coupons_id) {
            this.coupons_id = coupons_id;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public RechargeCouponData getCoupon() {
            return coupon;
        }

        public void setCoupon(RechargeCouponData coupon) {
            this.coupon = coupon;
        }
    }

    public static class RechargeCouponData {
        private String id;
        //优惠券明恒
        private String name;
        //优惠券值
        private String amount;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }
    }
}
